<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<script type="text/javascript">
	
</script>
<link href="css/apps/maintainability/list.css" type="text/css"
	rel="stylesheet" />
<script src="scripts/apps/maintainability/list.js"
	type="text/javascript"></script>
<form class="well form-inline" id="statform">
	<label>
	日期:
	</label>
	<input name="usedate" class="Wdate"  onClick="WdatePicker()" readonly />
	<button type="button" class="btn btn-inverse" id="statBtn">
	 <i class="icon-list-alt icon-white"></i>   
	统计
	</button>
</form>
<table class="table table-bordered">
	<thead>
		<tr>
			<th width="200">目标设备</th>
			<th>送修原因</th>
			<th>维修厂家</th>
			<th>送修日期</th>
			<th>结束日期</th>
			<th>备注</th>
			<th>管理</th>
		</tr>
	</thead>
	<tbody>

		<c:forEach items="${pageData.rows}" var="item" varStatus="vs">
			<tr>
				<td>${item.target.name}</td>
				<td>${item.reason}</td>
				<td>${item.repairor}</td>
				<td>${item.startDate}</td>
				<td>${item.endDate}</td>
				<td>${item.remark}</td>
				<td>
					<div class="btn-group">
						<button class="btn btn-inverse">管理</button>
						<button class="btn btn-inverse dropdown-toggle"
							data-toggle="dropdown">
							<span class="caret"></span>
						</button>
						<ul class="dropdown-menu">
							<!-- dropdown menu links -->
							<li><a href="#" aid="${item.id}" class="remove">删除</a></li>
							<li><a href="#" aid="${item.id}" class="view">编辑</a></li>
						</ul>
					</div>
				</td>
			</tr>
		</c:forEach>
	</tbody>
	<tfoot>
		<tr>
			<td colspan="5" align="right">${pageData.pagination}</td>
		</tr>
	</tfoot>
</table>